Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build stdin with compress #233

Merged
merged 1 commit into from
Jun 30, 2017

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Jun 23, 2017

Compress after the archive is rewritten.

@codecov-io
Copy link

codecov-io commented Jun 23, 2017

Codecov Report

Merging #233 into master will increase coverage by 1.34%.
The diff coverage is 17.39%.

@@            Coverage Diff             @@
##           master     #233      +/-   ##
==========================================
+ Coverage   46.98%   48.33%   +1.34%     
==========================================
  Files         172      172              
  Lines       11693    11710      +17     
==========================================
+ Hits         5494     5660     +166     
+ Misses       5882     5692     -190     
- Partials      317      358      +41

@dnephin dnephin requested a review from tonistiigi June 23, 2017 16:21
@dnephin dnephin added this to the 17.06.1 milestone Jun 23, 2017
@tonistiigi
Copy link
Member

0c950fe LGTM

Could move that compress function to the moby/archive package but don't want to slow this down with vendoring. But could be a follow-up cleanup later.

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐮

@thaJeztah thaJeztah modified the milestones: 17.07.0, 17.06.1 Jun 27, 2017
@thaJeztah
Copy link
Member

I'm removing this from the 17.06.1 milestone; the refactoring taken from #227 probably are not needed for 17.06.1, so if we need just the fix, we may need a different implementation for the 17.06 branch

(let me know if you don't agree though 😃 )

@dnephin
Copy link
Contributor Author

dnephin commented Jun 27, 2017

There is no way to test this properly without the refactoring. So if we want the fix I think we need to take the refactoring as well.

@thaJeztah
Copy link
Member

I opened an internal issue for discussing; we need to outweigh the importance of this fix against the amount of changes required 👍

@dnephin dnephin force-pushed the build-stdin-with-compress branch from 0c950fe to 337bcdd Compare June 29, 2017 17:02
@dnephin
Copy link
Contributor Author

dnephin commented Jun 29, 2017

rebased

@dnephin dnephin force-pushed the build-stdin-with-compress branch from 337bcdd to f7f567f Compare June 29, 2017 17:16
Write a test showing compress failure.

Signed-off-by: Daniel Nephin <[email protected]>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'--compress', '-f -' and context do not play along
6 participants